sub
Returns a sub-array of this byte array starting from the specified index (inclusive).
Since
0.6.0
Parameters
start
the start index of the sub-array
Throws
exception
if the start
index is out of range
Returns a sub-array of this byte array from the specified start index (inclusive) to the specified end index (exclusive).
Since
0.6.0
Parameters
start
the start index of the sub-array
end
the end index of the sub-array
Throws
exception
when:
the
start
orend
indexes are out of rangethe
start
index is greater than theend
index